import HttpUtil from '@/common/HttpUtil'

class DistinguishModel {
  // 添加识别成功的数据
  addDistinguish (params) {
    let postUrl = process.env.SURVEY_DOMAIN + '/gr/discernRecord/add'
    return HttpUtil.postJSON(postUrl, params)
  }
  getFindPage (params) {
    let postUrl = process.env.SURVEY_DOMAIN + '/gr/discernRecord/findPage'
    return HttpUtil.postJSON(postUrl, params)
  }
  deleteDistinguish (id) {
    let postUrl = process.env.SURVEY_DOMAIN + '/gr/discernRecord/delete/' + id
    return HttpUtil.delete(postUrl, null)
  }
  getUserList (params) {
    let postUrl = process.env.SURVEY_DOMAIN + '/sys/user/getList'
    return HttpUtil.get(postUrl, params)
  }
}

export {DistinguishModel}
